package com.aijk.ehm.dao.mybatis;


import com.aijk.ehm.model.EhmProblemRecord;
import com.aijk.ehm.model.EhmProblemRecordExample;
import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Repository;

import java.util.List;

@Repository
public interface EhmProblemRecordMapper {
    int countByExample(EhmProblemRecordExample example);

    int deleteByExample(EhmProblemRecordExample example);

    int deleteByPrimaryKey(Long id);

    int insert(EhmProblemRecord record);

    int insertSelective(EhmProblemRecord record);

    List<EhmProblemRecord> selectByExample(EhmProblemRecordExample example);

    EhmProblemRecord selectByPrimaryKey(Long id);

    int updateByExampleSelective(@Param("record") EhmProblemRecord record, @Param("example") EhmProblemRecordExample example);

    int updateByExample(@Param("record") EhmProblemRecord record, @Param("example") EhmProblemRecordExample example);

    int updateByPrimaryKeySelective(EhmProblemRecord record);

    int updateByPrimaryKey(EhmProblemRecord record);
}